export interface IotDeviceQuery extends PageQuery {
  deptId: number |  string;
  name: string;
  dn: string;
  productKey: string;
  serialNo: string;
  status: string;
  parentId: number;
}

export interface IotDeviceVO extends BaseEntity {
  id: string | number;
  tenantId: string;
  parentId: number;
  deptId: number;
  name: string;
  dn: string;
  productKey: string;
  nodeType: number;
  properties: string;
  serialNo: string;
  lat: number;
  lng: number;
  model: string;
  secret: string;
  activeTime: Date;
  firmVersion: string;
  addr: string;
  transparent: string;
  status: string;
  onlineTime: number;
  offlineTime: number;
}

export interface IotDeviceForm {
  id: number | string | undefined;
  tenantId: string | number | undefined;
  parentId: number;
  deptId: number;
  name: string;
  dn: string;
  productKey: string;
  nodeType: number;
  properties: string;
  serialNo: string;
  lat: number;
  lng: number;
  model: string;
  secret: string;
  activeTime: Date;
  firmVersion: string;
  addr: string;
  transparent: string;
  status: string;
  onlineTime: number;
  offlineTime: number;
  createTime: Date;
}